#ifndef BOXSERVER_H
#define BOXSERVER_H

#include <QTcpServer>
#include "nam.h"

class BoxServer : public QTcpServer
{
	Q_OBJECT

public:
	BoxServer(QObject *parent = 0);
	~BoxServer();
	NetworkAccessManager back_nam;

protected:
	int m_thread_count;
	virtual void incomingConnection(int socketDescriptor);
protected slots:
	void on_thread_finish();
};

#endif // BOXSERVER_H
